﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace BLL.Order
{
 public  class T_PUB_ORDER_CONTANCT
    {
     private readonly DALL.Order.T_PUB_ORDER_CONTANCT dal = new DALL.Order.T_PUB_ORDER_CONTANCT();
         public T_PUB_ORDER_CONTANCT()
        { }
         public bool Add(Model.Order.T_PUB_ORDER_CONTANCT model)
         {
             return dal.Add(model);
         }
         /// <summary>
         /// 获得数据列表
         /// </summary>
         public DataSet GetList(string strid)
         {
             string strWhere = string.Format(" and T_PUB_ORDER_CONTANCT.order_id='{0}'", strid);
             return dal.GetList(strWhere);
         }


         /// <summary>
         /// 得到一个对象实体
         /// </summary>
         public Model.Order.T_PUB_ORDER_CONTANCT GetModelByOrderID(string id)
         {

             return dal.GetModelByOrderID(id);
         }

    }
}
